expectation of random variable